package com.ecnu.system.service;

import com.ecnu.common.core.domain.model.LoginUser;
import com.ecnu.common.core.page.PageDomain;
import com.ecnu.common.core.page.TableDataInfo;
import com.ecnu.system.domain.Project;
import com.ecnu.system.domain.ProjectUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ecnu.system.domain.dto.EvaluateListDTO;
import com.ecnu.system.domain.vo.ProjectViewVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * ecnu_活动参与人表	 服务类
 * </p>
 *
 * @author zdn
 * @since 2025-03-20
 */
public interface IProjectUserService extends IService<ProjectUser> {

    TableDataInfo getProUser(String id, String nickName, PageDomain domain);

    List<ProjectViewVO> getReviewList(LoginUser loginUser, String name);

    List<ProjectViewVO> mySubmissionList(LoginUser loginUser, String name);

    /**
     * 评价列表
     * @param dto
     * @param loginUser
     * @return
     */
    TableDataInfo selectEvaluateList(EvaluateListDTO dto, LoginUser loginUser);

    void getProUserExcel(String id, HttpServletResponse response, Project project);
}
